package com.kyhd.audio.util;

import lombok.Getter;

public class InitConst {
	
	public static final int API_STATUS_SUCCESS = 1;
	public static final int API_STATUS_FAILED = 2;  
	public static final String API_MSG_SUCCESS = "success";
	
    public static final String NOVELSTART = "novelstart";
    public static final String NOVELHAND = "novelhand";
    
    //活动类型
    public static enum AdType{
    	demo(1);

    	@Getter
    	int type;
    	AdType(int type) {
    		this.type = type;
		}
    	
    	public static String getMsg(int k){
    		for(AdType _status : AdType.values()){
    			if(_status.type == k) return _status.name();
    		}
    		return "";
    	}
    }
 }

